home *** CD-ROM | disk | FTP | other *** search
- #ifndef NDEBUG
- #define __PBREAK(n,dh,fn) { static int counter = n; \
- __WATCH( --counter == 0,dh,(fn,counter = n)) }
- #define __PWATCH(expr,n,dh,fn) if(expr) __PBREAK(n,dh,fn)
- #else
- #define __PBREAK(n,dh,fn) ((void)0)
- #define __PWATCH(expr,n,dh,fn) ((void)0)
- #endif
-